#输入变量空值检查,都要检查
chkVars=imageUrl
$(foreach var,${chkVars},$(eval $(call var_notnull,${var})))

#私有变量定义
#myDir=${moduleDir}
myImgUrl=${imageUrl}
#myContext=${ciContext}

#空值变量处理
#GOPROXY?=goproxy.io

#宏定义 start

.PHONY: depx
depx:
	@echo current have no depends need todo

.PHONY: buildx
buildx:
	@mkdir -p ${projectRoot}/${ciOutDir}/${module}

.PHONY: imagex
imagex: entryx#基于构建二进制，构建镜像
	#@date > files/changer
	$(call func_build_image)

.PHONY: pushx
pushx: #推送镜像到仓库
	@$(call func_push_image)

.PHONY: testx
testx:
	@docker run --rm -it ${myImgUrl}

.PHONY: cleanx
cleanx:
	@docker rmi ${myImgUrl}
